<template>
  <el-form label-width="100px">

    <el-form-item label="企业名称">
      <el-input class="set-w" disabled v-model="info.name"></el-input>
    </el-form-item>
    <el-form-item label="公司地址">
      <el-input class="set-w" disabled v-model="info.companyAddress"></el-input>
    </el-form-item>
    <el-form-item label="公司电话">
      <el-input class="set-w" disabled v-model="info.companyPhone"></el-input>
    </el-form-item>
    <el-form-item label="邮箱">
      <el-input class="set-w" disabled v-model="info.mailbox"></el-input>
    </el-form-item>
    <el-form-item label="备注">
      <el-input class="set-w" disabled v-model="info.remarks"></el-input>
    </el-form-item>
  </el-form>
</template>
<script>
import {company} from '@/api/setting'
export default {
  data () {
    return {
      info: {}
    }
  },
  async created(){
const res=await company(this.$store.state.user.userInfo.companyId)
this.info=res.data
console.log('企业信息',res)
  }

}
</script>
<style lang="scss" scoped>
.set-w {
  width: 450px;
}
</style>
